package com.smarthouse.model;

import java.time.LocalDateTime;

public class FaceRecord {
    private Long id;
    private Long userId;
    private String image1Url;
    private String image2Url;
    private double similarity;
    private LocalDateTime createdAt;

    // Constructors
    public FaceRecord() {}

    public FaceRecord(Long userId, String image1Url, String image2Url, double similarity) {
        this.userId = userId;
        this.image1Url = image1Url;
        this.image2Url = image2Url;
        this.similarity = similarity;
        this.createdAt = LocalDateTime.now();
    }

    // Getters and Setters
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    public Long getUserId() { return userId; }
    public void setUserId(Long userId) { this.userId = userId; }
    public String getImage1Url() { return image1Url; }
    public void setImage1Url(String image1Url) { this.image1Url = image1Url; }
    public String getImage2Url() { return image2Url; }
    public void setImage2Url(String image2Url) { this.image2Url = image2Url; }
    public double getSimilarity() { return similarity; }
    public void setSimilarity(double similarity) { this.similarity = similarity; }
    public LocalDateTime getCreatedAt() { return createdAt; }
    public void setCreatedAt(LocalDateTime createdAt) { this.createdAt = createdAt; }
} 